package com.lantosec.hmrp.modules.sysdata.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lantosec.hmrp.core.kit.PageVO;
import com.lantosec.hmrp.modules.sysdata.entity.SysProcessNotify;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantosec.hmrp.modules.sysdata.vo.SysProcessNotifyVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 流程知会表 Mapper 接口
 * </p>
 *
 * @author AutoCode
 * @since 2020-06-21
 */
public interface SysProcessNotifyMapper extends BaseMapper<SysProcessNotify> {

    /**
     * 未读的流程知会列表
     * @return
     */
    Page<SysProcessNotifyVO> queryListByUserId(PageVO<SysProcessNotifyVO> page
            , @Param("userId") String userId, @Param("notifyStatus")  String notifyStatus);
}
